package fr.isima.myant;

public class CopyTask extends Task
{
	private String from;
	
	private String to;
	

	public CopyTask() 
	{
		super();
		setFrom("defaultFrom");
		setTo("defaultTo");
	}
	
	public CopyTask(String from, String to) 
	{
		super();
		setFrom(from);
		setTo(to);
	}


	public String getFrom() {
		return from;
	}


	public void setFrom(String from) {
		this.from = from;
	}


	public String getTo() {
		return to;
	}


	public void setTo(String to) {
		this.to = to;
	}
	
	@Override
	public void execute()
	{
		super.execute();
		System.out.println("Copy " + from + " " + to);
	}
	

}
